Categories

Versions

Get Metrics (AI Hub) (Admin Tools)

Synopsis

This operator allows you to get the current health metrics of an AI Hub.

Description

This operator allows you to get the current health metrics of an AI Hub. The resulting ExampleSet contains the Max Memory, Used Memory, Total Allocated Memory, Total Space and Free Space in GB, System CPU Load and Process CPU Load as a percentage (%), and Timestamp.

As with other operators in this extension, the input of this operator requires an AI Hub Connection IOObject with sufficient information and credentials (server_url, client_secret, and refresh_token) to access the AI Hub API. You can create an AI Hub connection IOObject in Studio by going to Create Connections selection in the Connections menu. The client_secret and refresh tokens can be obtained by logging to the AI Hub as an administrator in the web interface and then directly navigating to this URL: [server_url]/get-token. If all the information is entered correctly, a new AI Hub Connection IOObject will appear in the Connections folder of your repository. This Connection IOObject now can be connected to any Admin extension operator con input port when needed.

Input

  • con (Connection)

    An AI Hub Connection IOObject.

Output

  • con

    The AI Hub Connection IOObject from the input port, delivered as a passthru.

  • exa (Data Table)

    An ExampleSet containing AI Hub health metrics.

Parameters